package com.apes.fn.scm.retailReturn;

import com.apes.fn.scm.retailOrder.model.RetailOrder;
import com.apes.framework.jpa.repository.CustomRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

/**
 * @author HuJinalin
 * @create 2018-10-31 16:07
 */
public interface RetailReturnRepository extends CustomRepository<RetailReturn, String> {

    @Query("SELECT T FROM RetailReturn T WHERE T.id = :id")
    RetailReturn findRetailOrderById(@Param("id") String id);
}
